/**
 * 
 */
package com.nari.baseinfo.utils.excelupload.parsetips;

import com.nari.baseinfo.utils.excelupload.ExcelParserInfo;
import com.nari.baseinfo.utils.excelupload.parseentity.ExcelHeatSinkerEntity;
import com.nari.platform.model.ResponseMsg;

/**
 * 散热器解析信息
 * @author Xiaopeng
 * @date 2014-1-21
 */
public class ExcelHeatSinkerParserInfo extends ExcelParserInfo {
	private ExcelHeatSinkerEntity sinkerEntity;
	
	private ExcelHeatSinkerParserInfo(ResponseMsg parserState, ExcelHeatSinkerEntity sinkerEntity) {
		this.setParserState(parserState);
		this.sinkerEntity = sinkerEntity;
	}
	
	/**
	 * 散热器解析信息实例化
	 * @param parserState
	 * @param sinkerEntity
	 * @return
	 * @author Xiaopeng
	 * @date 2014-1-21
	 */
	public static ExcelHeatSinkerParserInfo getInstance(ResponseMsg parserState, 
			ExcelHeatSinkerEntity sinkerEntity) {
		return new ExcelHeatSinkerParserInfo(parserState, sinkerEntity);
	}

	/**
	 * @return the sinkerEntity
	 */
	public ExcelHeatSinkerEntity getSinkerEntity() {
		return sinkerEntity;
	}

	/**
	 * @param sinkerEntity the sinkerEntity to set
	 */
	public void setSinkerEntity(ExcelHeatSinkerEntity sinkerEntity) {
		this.sinkerEntity = sinkerEntity;
	}
	
}
